<template>
  <div class="left-top">
    <div class="item-chart">
      <app-vue-echarts :option="getOption1()"></app-vue-echarts>
      <div class="label">2020</div>
    </div>
    <div class="item-chart">
      <app-vue-echarts :option="getOption2()"></app-vue-echarts>
      <div class="label">2021</div>
    </div>
    <div class="item-chart">
      <app-vue-echarts :option="getOption3()"></app-vue-echarts>
      <div class="label">2022</div>
    </div>
  </div>
</template>

<script setup lang="ts" name="LeftTop">
import {getOption1,getOption2,getOption3} from "../options/leftTop";

</script>

<style scoped lang="less">
.left-top{
  width: 453PX;
  height: 280px;
  position: absolute;
  left: 20px;
  top: 135px;
  background-image: url(../assets/left-top.svg);
  display: flex;
  justify-content: space-between;
  .item-chart{
    width: 33%;
    height: 280px;
    position: relative;
    .label{
      position: absolute;
      top: 235px;
      left:50px;
      font-size: 20px;
      display: inline-block;
      font-weight: 600;
      background-image: linear-gradient(90deg, #3dc8cd 0%, #cca84f 100%);
      -moz-background-clip: text;
      -webkit-background-clip: text;
      -o-background-clip: test;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}
</style>
